import React from 'react';
import { createRoot } from 'react-dom/client';
import './index.less'
import { ConfigProvider } from 'antd';

const root = document.getElementById('app');

import { HashRouter} from 'react-router-dom';

import BaseRoute from "@/router"


if(root) {
    createRoot(root).render(
        <HashRouter>
            <ConfigProvider
                theme={{
                    token: {
                        colorPrimary: '#00b96b',
                    },
                }}
            >
            <BaseRoute/>
            </ConfigProvider>
        </HashRouter>
    )
}
